package com.oceansoft.core.jxkh.domain;

import com.oceansoft.core.common.util.DatetimeUtil;

import java.util.Date;

/**
 * Created by begcoffee on 2017/12/11.
 */
public class Task {
    private long dbid;
    private String name;
    private String type;
    private String checkyear;
    private String checkno;
    private long basemark;
    private Date startdate;
    private Date enddate;
    private String replaytype;
    private String replayway;
    private String replaypoint;
    private String status = "0";

    public long getDbid() {
        return dbid;
    }

    public void setDbid(long dbid) {
        this.dbid = dbid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCheckyear() {
        return checkyear;
    }

    public void setCheckyear(String checkyear) {
        this.checkyear = checkyear;
    }

    public String getCheckno() {
        return checkno;
    }

    public void setCheckno(String checkno) {
        this.checkno = checkno;
    }

    public long getBasemark() {
        return basemark;
    }

    public void setBasemark(long basemark) {
        this.basemark = basemark;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public void setStartdatestr(String startdatestr) {
        this.startdate = DatetimeUtil.strToDate(startdatestr);
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public void setEnddatestr(String enddatestr) {
        this.enddate = DatetimeUtil.strToDate(enddatestr);
    }

    public String getReplaytype() {
        return replaytype;
    }

    public void setReplaytype(String replaytype) {
        this.replaytype = replaytype;
    }

    public String getReplayway() {
        return replayway;
    }

    public void setReplayway(String replayway) {
        this.replayway = replayway;
    }

    public String getReplaypoint() {
        return replaypoint;
    }

    public void setReplaypoint(String replaypoint) {
        this.replaypoint = replaypoint;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
